package com.ysy.logistics.mapper.system;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ysy.logistics.entities.system.SysRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassDescription:
 * @Author:姚斯羽
 * @Create:2025/3/12 14:40
 **/
public interface SysRoleMapper extends BaseMapper<SysRole> {

    Page<SysRole> selectByPage(@Param("page") Page<SysRole> page, @Param("sysRole") SysRole sysRole);

    List<SysRole> getAll();
}
